package com.richie696.catalina;

import java.io.IOException;

public interface Servlet {

    void init() throws Exception;

    void destroy() throws Exception;

    void service(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException;

    void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException;

    void doPut(HttpServletRequest request, HttpServletResponse response) throws IOException;

    void doDelete(HttpServletRequest request, HttpServletResponse response) throws IOException;

    void doHead(HttpServletRequest request, HttpServletResponse response) throws IOException;

}
